package com.suli.account.service;

import com.suli.account.entity.UserRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author SuLi
 * @since 2022-03-19
 */
public interface UserRoleService extends IService<UserRole> {

    /**
     * 根据账户类型获取账户总数量
     *
     * @param accountType 账户类型
     * @return 总数
     */
    Map<String, Object> getAccountByType(String accountType);
}

